package com.spring.framework.model.xml;

public class InnerBean {
	private InnerBeanInner innerBeanInner1;
	private InnerBeanInner innerBeanInner2;

	public void setInnerBeanInner1(InnerBeanInner innerBeanInner1) {
		this.innerBeanInner1 = innerBeanInner1;
	}

	public void setInnerBeanInner2(InnerBeanInner innerBeanInner2) {
		this.innerBeanInner2 = innerBeanInner2;
	}


	@Override
	public String toString() {
		return "InnerBean{" +
				"innerBeanInner1=" + innerBeanInner1 +
				", innerBeanInner2=" + innerBeanInner2 +
				'}';
	}

	public static class InnerBeanInner {
		private String property1;
		private int property2;


		public void setProperty1(String property1) {
			this.property1 = property1;
		}

		public void setProperty2(int property2) {
			this.property2 = property2;
		}

		@Override
		public String toString() {
			return "InnerBeanInner{" +
					"property1='" + property1 + '\'' +
					", property2=" + property2 +
					'}';
		}
	}
}
